/****************************************************
 *					INITIALIZATION					*
 ****************************************************/

/*global $: false, javascriptSpecificClassName: true, javascriptSpecificClassNameForPageLoading: true */

var javascriptSpecificClassName = "lpws-script-enabled",
	javascriptSpecificClassNameForPageLoading = "js-enabled-page-is-loading";


$(document).ready(function() {
	"use strict";
	
	// this class is added to the <html> tag in the head part of the document,
	// which is not wrapped by document.ready, here, in the document.ready
	// function , our first step is to remove this temprary flag, which
	// provide info for the CSS, what to show and not to show while the
	// page is loading.
	
	$('html').removeClass( javascriptSpecificClassNameForPageLoading );
	
	// gives a flag to those components, which has the given attribute set to true
	
	$("*[data-lpws-script-ready=true]").addClass( javascriptSpecificClassName );
});
	
	

